package com.beteng.su.betengsu.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 *
 */

public class OrderBean implements Parcelable {

    /**
     * SupplierCommissionID : 428068
     * SupplierSubCommissionID : 5011716
     * SupplierWaybillNO : 0207968
     * WaybillID : 5427780
     * ToStation : null
     * ToPurposeName : 福建建阳区
     * IsNotification : false
     * Plate :
     * LastUpdateDateTime : null
     * LastPurposeName : null
     * LastSupplierDescription :
     * TraceStatus : null
     * DeliveryDateTime : /Date(1461306600000)/
     * ReceivePerson : 鄢明
     * PackageCount : 5
     * IsSigned : null
     * IsSignedDescrpiton :
     * TraceStatusDescrpiton :
     * IsNotificationDescrpiton :
     */



    private int SupplierCommissionID;
    private int SupplierSubCommissionID;
    private String SupplierWaybillNO;
    private int WaybillID;
    private String ToStation;
    private String ToPurposeName;
    private boolean IsNotification;
    private String Plate;
    private String LastUpdateDateTime;
    private String LastPurposeName;
    private String LastSupplierDescription;
    private String TraceStatus;
    private String DeliveryDateTime;
    private String ReceivePerson;
    private int PackageCount;
    private String IsSigned;
    private String IsSignedDescrpiton;
    private String TraceStatusDescrpiton;
    private String IsNotificationDescrpiton;

    public int getSupplierCommissionID() {
        return SupplierCommissionID;
    }

    public void setSupplierCommissionID(int supplierCommissionID) {
        SupplierCommissionID = supplierCommissionID;
    }

    public int getSupplierSubCommissionID() {
        return SupplierSubCommissionID;
    }

    public void setSupplierSubCommissionID(int supplierSubCommissionID) {
        SupplierSubCommissionID = supplierSubCommissionID;
    }

    public String getSupplierWaybillNO() {
        return SupplierWaybillNO;
    }

    public void setSupplierWaybillNO(String supplierWaybillNO) {
        SupplierWaybillNO = supplierWaybillNO;
    }

    public int getWaybillID() {
        return WaybillID;
    }

    public void setWaybillID(int waybillID) {
        WaybillID = waybillID;
    }

    public String getToStation() {
        return ToStation;
    }

    public void setToStation(String toStation) {
        ToStation = toStation;
    }

    public String getToPurposeName() {
        return ToPurposeName;
    }

    public void setToPurposeName(String toPurposeName) {
        ToPurposeName = toPurposeName;
    }

    public boolean isNotification() {
        return IsNotification;
    }

    public void setNotification(boolean notification) {
        IsNotification = notification;
    }

    public String getPlate() {
        return Plate;
    }

    public void setPlate(String plate) {
        Plate = plate;
    }

    public String getLastUpdateDateTime() {
        return LastUpdateDateTime;
    }

    public void setLastUpdateDateTime(String lastUpdateDateTime) {
        LastUpdateDateTime = lastUpdateDateTime;
    }

    public String getLastPurposeName() {
        return LastPurposeName;
    }

    public void setLastPurposeName(String lastPurposeName) {
        LastPurposeName = lastPurposeName;
    }

    public String getLastSupplierDescription() {
        return LastSupplierDescription;
    }

    public void setLastSupplierDescription(String lastSupplierDescription) {
        LastSupplierDescription = lastSupplierDescription;
    }

    public String getTraceStatus() {
        return TraceStatus;
    }

    public void setTraceStatus(String traceStatus) {
        TraceStatus = traceStatus;
    }

    public String getDeliveryDateTime() {
        return DeliveryDateTime;
    }

    public void setDeliveryDateTime(String deliveryDateTime) {
        DeliveryDateTime = deliveryDateTime;
    }

    public String getReceivePerson() {
        return ReceivePerson;
    }

    public void setReceivePerson(String receivePerson) {
        ReceivePerson = receivePerson;
    }

    public int getPackageCount() {
        return PackageCount;
    }

    public void setPackageCount(int packageCount) {
        PackageCount = packageCount;
    }

    public String getIsSigned() {
        return IsSigned;
    }

    public void setIsSigned(String isSigned) {
        IsSigned = isSigned;
    }

    public String getIsSignedDescrpiton() {
        return IsSignedDescrpiton;
    }

    public void setIsSignedDescrpiton(String isSignedDescrpiton) {
        IsSignedDescrpiton = isSignedDescrpiton;
    }

    public String getTraceStatusDescrpiton() {
        return TraceStatusDescrpiton;
    }

    public void setTraceStatusDescrpiton(String traceStatusDescrpiton) {
        TraceStatusDescrpiton = traceStatusDescrpiton;
    }

    public String getIsNotificationDescrpiton() {
        return IsNotificationDescrpiton;
    }

    public void setIsNotificationDescrpiton(String isNotificationDescrpiton) {
        IsNotificationDescrpiton = isNotificationDescrpiton;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.SupplierCommissionID);
        dest.writeInt(this.SupplierSubCommissionID);
        dest.writeString(this.SupplierWaybillNO);
        dest.writeInt(this.WaybillID);
        dest.writeString(this.ToStation);
        dest.writeString(this.ToPurposeName);
        dest.writeByte(this.IsNotification ? (byte) 1 : (byte) 0);
        dest.writeString(this.Plate);
        dest.writeString(this.LastUpdateDateTime);
        dest.writeString(this.LastPurposeName);
        dest.writeString(this.LastSupplierDescription);
        dest.writeString(this.TraceStatus);
        dest.writeString(this.DeliveryDateTime);
        dest.writeString(this.ReceivePerson);
        dest.writeInt(this.PackageCount);
        dest.writeString(this.IsSigned);
        dest.writeString(this.IsSignedDescrpiton);
        dest.writeString(this.TraceStatusDescrpiton);
        dest.writeString(this.IsNotificationDescrpiton);
    }

    public OrderBean() {
    }

    protected OrderBean(Parcel in) {
        this.SupplierCommissionID = in.readInt();
        this.SupplierSubCommissionID = in.readInt();
        this.SupplierWaybillNO = in.readString();
        this.WaybillID = in.readInt();
        this.ToStation = in.readString();
        this.ToPurposeName = in.readString();
        this.IsNotification = in.readByte() != 0;
        this.Plate = in.readString();
        this.LastUpdateDateTime = in.readString();
        this.LastPurposeName = in.readString();
        this.LastSupplierDescription = in.readString();
        this.TraceStatus = in.readString();
        this.DeliveryDateTime = in.readString();
        this.ReceivePerson = in.readString();
        this.PackageCount = in.readInt();
        this.IsSigned = in.readString();
        this.IsSignedDescrpiton = in.readString();
        this.TraceStatusDescrpiton = in.readString();
        this.IsNotificationDescrpiton = in.readString();
    }

    public static final Creator<OrderBean> CREATOR = new Creator<OrderBean>() {
        @Override
        public OrderBean createFromParcel(Parcel source) {
            return new OrderBean(source);
        }

        @Override
        public OrderBean[] newArray(int size) {
            return new OrderBean[size];
        }
    };
}